#include <stdio.h>

#include <ft2build.h>
#include FT_FREETYPE_H

int main(void)
{
	FT_Library ftlib;
	if( FT_Init_FreeType(&ftlib) != 0)
	{
		printf("free type init error\r\n");
		return -1;
	}
	
	FT_Int major, minor, patch;
	FT_Library_Version(ftlib, &major, &minor, &patch);
	
	printf("freetype ver=%d.%d.%d", major, minor, patch);
	
	FT_Done_FreeType(ftlib);
	return 0;
}